package com.mini.mysql.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;


/**
 * @author zl
 * @version 1.0
 * @date Created in 2019/12/4
 */
@Entity
@Data
@ToString
public class AttnClassInfo {

    @Id
    private Long id;

    private String className;

    private Date orderDate;

    private String lessonId;

    private String lessonName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date classStartTime;

    private Date classEndTime;

    private String classStatus;

    private String classStatusName;

    //班次类型:0-小课,1-大课
    private Integer type;

    private Long assistantId;

}